#include<bits/stdc++.h>
using namespace std;
int main()
{
	int N;
	cin >> N;
	int cnt  = 0 ;
	int cur = 0;
	int T[N] = {0};
	for (int i = 0; i < N; i++) {
		cin >> T[i];
	}
	for (int i = 1; i < N; i++) {
		if (T[i - 1] < T [i]) {
			cur ++;
		} else {
			cnt = max(cur, cnt) ;
			cur = 0;
		}
	}
	cnt = max(cur, cnt);
	cout << cnt + 1;
	return 0;
}
